import { useState } from 'react'
import './App.css'
import { Link, Outlet } from 'react-router-dom'

function App() {


  return (
    <div className='container'>
      <div className="content">
        <Outlet />
      </div>
      <div className='tab'>
        <p className='tab-item'>
          <Link to={'/index'}>首页</Link>
        </p>
        <p className='tab-item'>
          <Link to={'/query'}>查询</Link>
        </p>
        <p className='tab-item'>
          <Link to={'/ticket'}>火车票</Link>
        </p>
        <p className='tab-item'>
          <Link to={'/order'}>订单</Link>
        </p>
      </div>
     
    </div>
  )
}

export default App
